package com.job.Gai_Yian.Homework0722.No2;

/**
 * @author Gai_Yian
 * @version 1.0
 * @since 2022-07-23 13:10:19
 */
public class Personal_Exception extends Throwable {
    private String fact;

    public Personal_Exception(String fact) {
        this.fact = fact;
    }

    public String getFact() {
        return fact;
    }

    public void setFact(String fact) {
        this.fact = fact;
    }

    @Override
    public String toString() {
        return "AgeException{" +
                "fact='" + fact + '\'' +
                '}';
    }
}
